import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/echart',
    name: 'Echart',
    component: () => import('../views/echarts.vue')
  },
  {
    path: '/tinymce',
    name: 'Tinymce',
    component: () => import('../views/tinymce.vue')
  }
]
const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
